defined M_PI


moved #include "texture.h" below other includes in texture.cpp
